<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 
<head>
 
<title><?php echo $titel ?></title>
 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
 
</head>
 
<body>
	<h1><?php echo $titel ?></h1>
	
	<?php echo anchor('pm/nieuwBericht','Nieuw Bericht') ?>   <br/><br/>
	
	<table border="1">
		<tr>
			<th>Naar</th>
			<th>Onderwerp</th>
			<th>Tijd</th>
			<th>Bericht verwijderen</th>
		</tr>
		<?php foreach($query->result() as $row): ?>
		<tr>
			<td width = "200" align="center"><?php echo $row->users_naam ?></td>
			<td width = "200" align="center"><?php echo $row->pm_onderwerp ?></td>
			<td width = "200" align="center"><?php echo date("F j, Y, g:i a",$row->pm_tijd); ?></td>
			<td width = "200" align="center"><?php echo anchor('pm/verwijder/'.$row->pm_id, 'Verwijder') ?></td>
		</tr>
		<?php endforeach; ?>
	</table> <br/>
	
	<?php echo anchor('hq','Terug') ?>
 
</body>
</html>